package com.ars.common.dao;

import com.ars.common.utils.DBUtil;

import java.sql.PreparedStatement;
import java.sql.SQLException;

public class DeleteUser {
    public static void delete(String id) throws SQLException {
        String sql = "DELETE FROM user WHERE userID = ?;";

        PreparedStatement ps = DBUtil.getConnection().prepareStatement(sql);
        ps.setString(1,id);
         ps.executeUpdate();

    }
}
